home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.atlanta.com!jon
- From: jon@esisys.com (Jon Friedline)
- Newsgroups: comp.lang.c++
- Subject: Windows Sockets
- Date: 8 Mar 1996 23:10:08 GMT
- Organization: Enhanced Systems, Inc.
- Message-ID: <4hqegd$ei_001@nntp.atlanta.com>
- NNTP-Posting-Host: jon.esisys.com
- Keywords: sockets
- X-Newsreader: News Xpress Version 1.0 Beta #3
-
-
-
- I have a problem with the send() command in MSVC 2.x. I have written
- a small web server (like who hasn't) that fails under a loadtest.
- It seems that when I load test with Netscape, while in a send() command,
- Netscape pops up a "host did a reset" on the connection. This occurs
- randomly and only under a high load on a ethernet.
-
- Does anyone have any suggestions. I am using a blocking call, and have
- issued the non blocking io control
-
- // disable non-blocking mode
- unsigned long ctlopt;
- ctlopt = 0;
- err = ioctlsocket(SocketToSet, FIONBIO, &ctlopt);
- if (err == SOCKET_ERROR) {
- LDS(ERROR_LOG, -1, "failed to set FIONBIO option for socket");
- }
-
-
- Any hellp would be greatly appreciated.
-
- Jon Friedline
-